<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>axios查询所有用户</title>
<!--    引用-->
    <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
    <script>
        // 查询所有用户
        axios({
            method: 'get',
            url: 'http://localhost:8099/users/all',
        }).then((result) =>{
            console.log(result.data.data);
        }).catch((err =>{
            console.log(err);
        }))
    </script>
</head>
<body>

</body>
</html>